package com.edmendst.xmall.service;

import com.edmendst.xmall.dto.ShopInfo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface ShopService {
     //  创建店铺
    int createShop(String username,String shopName);
     // 查询店铺信息
    List<ShopInfo> selectShopInfoByUsername(String username);
    //     Integer opcode;  // 1：修改店铺名称   2：修改店铺描述
    int updateShopInfo(String username, ShopInfo shopInfo);
     //  修改店铺logo
    int updateShopLogo(MultipartFile shopLogo, Integer shopId);
//     查询店铺id
    Integer selectShopIdByUsername(String username);

}
